package com.itheima.userservice.feign;

import feign.hystrix.FallbackFactory;

public class OrderfallbackFactory implements FallbackFactory<OrderFeign> {
    @Override
    public OrderFeign create(Throwable throwable) {
        System.out.println("调用失败");
        return id -> -1;
    }
}
